#ifndef __PLAYER_UTILITY_H__
#define __PLAYER_UTILITY_H__

#include <QObject>

class CPlayerUtilityPrivate;
//class TonePlayer;

class PlayerUtility: public QObject
{
    Q_OBJECT

public:
    PlayerUtility(const QString& aFileName, QObject *parent = 0, int initialVolume = 0);
    ~PlayerUtility();

public slots: // New slots
    // Define the following slots for something fun!
    void play();
    void stop();
    void setVolume(int volume);
    void volumeKeyPressed(int upOrDown);
signals:
    void volumeChanged(int);

private: // Data
    friend class CPlayerUtilityPrivate;

    CPlayerUtilityPrivate* d_ptr;
    int iVolume;
   // TonePlayer *iTonePlayer;
};

#endif // __PLAYER_UTILITY_H__

// End of file
